package com.TTBook.core.author.dao;

import com.TTBook.core.author.model.Author;
import com.TTBook.core.author.model.AuthorCriteria;
import java.util.List;

public interface AuthorDAO {
    int countByCriteria(AuthorCriteria criteria);

    int deleteByCriteria(AuthorCriteria criteria);

    void insert(Author record);

    void insertSelective(Author record);

    List selectByCriteria(AuthorCriteria criteria);

    int updateByCriteriaSelective(Author record, AuthorCriteria criteria);

    int updateByCriteria(Author record, AuthorCriteria example);
}